package baiqitun.stupro.security.mapper;

import baiqitun.stupro.security.entity.SysUser;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

/**
 * <p>
 * 用户表 Mapper 接口
 * </p>
 *
 * @author kedaji
 * @since 2020-03-25
 */
public interface SysUserMapper extends BaseMapper<SysUser> {
    /**
     * 查询用户
     * @param username 用户名
     * @return 用户
     */
    SysUser selectOneByUsername(String username);
}
